package test;


/**
 * @Auther: hjy(lc))
 * @Date: 2022/7/16-07-16-14:00
 * @Description：对食物菜单分类，每种菜单下有多种具体的菜式或食品
 */
interface Food{
    enum Appetizer  implements Food{      //开胃菜
        SALAD,SOUP,SPRING_ROLLS;
    }
}

public class Enum_TypeOfFood {
    public static void main(String[] args) {
        Food food1 = Food.Appetizer.SALAD;
        System.out.println("food1 = " + food1);
    }
}
